home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / logeqfv6.zip / BACKUP.BAT < prev    next >
DOS Batch File  |  1994-02-08  |  699b  |  29 lines

  1. @echo off
  2. REM
  3. REM  This .BAT file can be edited for your favorite backup utility...
  4. REM
  5. REM  Note that you must either put the backup utility in this directory
  6. REM  or specify the full path name for the utility in this BATCH file.
  7. REM
  8. REM       %1 = logbook.*       %2 = TARGET DISK DRIVE
  9. REM
  10. IF NOT EXIST BACKUP.EXE GOTO STEP1
  11. BACKUP.EXE %1 %2
  12. GOTO STEP4
  13. :STEP1
  14. IF NOT EXIST PKZIP.EXE GOTO STEP2
  15. PKZIP %2%0 %1
  16. GOTO STEP4
  17. :STEP2
  18. XCOPY %1 %2
  19. IF ERRORLEVEL 0 GOTO STEP4
  20. :STEP3
  21. ECHO .    Log-EQF could not perform the backup requested...
  22. ECHO .
  23. ECHO .    Please check your target drive - or change file BACKUP.BAT
  24. ECHO .    to match your configuration.
  25. ECHO .
  26. PAUSE
  27. :STEP4
  28.  
  29.